//报表
import Layout from '@/layout'
export default {
    path: '/reportForm',
    component: Layout,
    redirect: '/reportForm/outputStatistics',
    children: [{
        path: '/reportForm/outputStatistics',
        component: () => import('@/view/reportForm/outputStatistics'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '产量统计',
                    to: '/reportForm/outputStatistics'
                },
            ],
            permCode: "production.statistics"
        }
    }, {
        path: '/reportForm/staffPerformance',
        component: () => import('@/view/reportForm/staffPerformance'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '员工绩效',
                    to: '/reportForm/staffPerformance'
                },
            ],
            permCode: "staff.performance.statistics"
        }
    }, {
        path: '/reportForm/salaryForm',
        component: () => import('@/view/reportForm/salaryForm'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '工资报表',
                    to: '/reportForm/salaryForm'
                },
            ],
            permCode: "salary.statistics"
        }
    }, {
        path: '/reportForm/irregularSpread',
        component: () => import('@/view/reportForm/irregularSpread'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '不良品项分布',
                    to: '/reportForm/irregularSpread'
                },
            ],
            permCode: "defects.statistics"
        }
    }, {
        path: '/reportForm/irregularGather',
        component: () => import('@/view/reportForm/irregularGather'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '不良品项汇总',
                    to: '/reportForm/irregularGather'
                },
            ],
            permCode: "defects.detail.statistics"
        }
    }, {
        path: '/reportForm/productForm',
        component: () => import('@/view/reportForm/productForm'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '生产报表',
                    to: '/reportForm/productForm'
                },
            ],
            permCode: "project.statistics"
        }
    }, {
        path: '/reportForm/goodsForm',
        component: () => import('@/view/reportForm/goodsForm'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '报表',
                    to: '/reportForm/outputStatistics'
                },
                {
                    name: '在制品报表',
                    to: '/reportForm/goodsForm'
                },
            ],
            permCode: "in.process.statistics"
        }
    }]
}